package com.efast.dmom.equipment.dao.masterdata;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface EquipBomDao {

	public int addSpareList(@Param(value = "parentId")Integer parenId, @Param(value = "childList")List<Integer> childList);
	
	public int deleteSpareList(@Param(value = "childList")List<Integer> childList);
	
	public int addCategory(@Param(value = "parentId")Integer parenId, @Param(value = "childList")List<Integer> childList);
	
	public int deleteCategory(@Param(value = "childList")List<Integer> childList);
	
	public int deleteParts(@Param(value = "childList")List<Integer> childList);
	
	public List<Integer> fetchSpareIdsByParentId(@Param(value = "parentId")Integer parentId);
	
	public List<Integer> fetchPartIdsByParentId(@Param(value = "parentId")Integer parentId);
}
